package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 关联发票明细表(aigis_wdpjfb_2025042315032048)
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_wdpjfb_2025042315032048")
public class InvoiceAssociationDetailDO extends BaseDO {

    /**
     * 发票代码
     */
    @TableField("comInputField110")
    private String invoiceCode;

    /**
     * 发票号码
     */
    @TableField("comInputField101")
    private String invoiceNo;

    /**
     * 不含税金额
     */
    @TableField("numInputField111")
    private BigDecimal amountExcludingTax;

    /**
     * 税额
     */
    @TableField("numInputField112")
    private BigDecimal taxAmount;

    /**
     * 价税合计
     */
    @TableField("numInputField113")
    private BigDecimal totalAmountIncludingTax;

    /**
     * 校验码
     */
    @TableField("comInputField114")
    private String verificationCode;

    /**
     * 购买方
     */
    @TableField("comInputField104")
    private String buyer;

    /**
     * 销售方
     */
    @TableField("comInputField108")
    private String seller;

    /**
     * 开票日期
     */
    @TableField("dateField106")
    private LocalDateTime invoiceDate;

    /**
     * 开票种类
     */
    @TableField("selectField115")
    private String invoiceType;

    /**
     * 待关联金额
     */
    @TableField("numInputField116")
    private BigDecimal pendingAssociationAmount;

    /**
     * 本次关联金额
     */
    @TableField("numInputField117")
    private BigDecimal currentAssociationAmount;
}